<?php

namespace Jammiest\SwigeCore\Console\Commands;

use Psr\Container\ContainerInterface;
use Symfony\Component\Console\Command\Command as SymfonyCommand;

abstract class Command extends SymfonyCommand
{

    public function __construct(protected ContainerInterface $container)
    {
        parent::__construct();
    }

    protected function get(string $id): mixed
    {
        return $this->container->get($id);
    }
}
